package com.heimali.sf;

import android.app.Application;
import android.content.Context;

public class SiFaApplication extends Application {

	public static final String TAG = "SiFaApplication";
	private static SiFaApplication application;

	@Override
	public void onCreate() {
		super.onCreate();

		application = this;
	}

	public static Context getContext() {
		return application.getBaseContext();
	}

	public static SiFaApplication getApplication() {
		return application;
	}

	@Override
	public void onLowMemory() {
		super.onLowMemory();
		exit();
	}

	public static void exit() {
		System.exit(0);
	}

}